package com.easygem.common.vo.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * @Author 文晓平
 * @Date 2024/12/7 19:16
 * @Version 1.0
 **/
@Data
public class UserVO {

    private Long userId;

    @NotBlank(message = "用户名不能为空")
    private String userName;

    @NotBlank(message = "昵称不能为空")
    private String nickName;

    @Email(message = "请输入正确的邮箱格式")
    private String email;

    @NotBlank(message = "电话号码不能为空")
    private String phone;

    private Integer status;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp editTime;

    @NotBlank(message = "密码不能为空")
    private String password;

    private String departmentName;

    @NotNull(message = "部门id不能为空")
    private Long deptId;

    //总部公司账户
    private String accountName;
    private String telNumber;

    private String roleName;
    //private List<Long> ids;
//线路类型ID
    private Long circuitId;



    //客户编号
    private String clientNo;
    //客户名称
    private String clientName;
    //角色id
    private Long roleId;
    //有效期
    private String indate;

    //线路类型
    private String circuitType;
    //平台类型
    private String platformType;
    //账户类型
    private String accountType;
}
